
package org.dyndns.cooland.updater.db.model;

import java.io.Serializable;

public class Category implements Serializable, Bean {
	
	private static final long	serialVersionUID	= 2859838490063964904L;
	
	int							id;
	String						name;
	int							parent_id;
	
	public Category () {

	}
	
	public Category (int id, String name, int parentId) {

		super();
		this.id = id;
		this.name = name;
		parent_id = parentId;
	}
	
	public int getId() {

		return id;
	}
	
	public void setId(int id) {

		this.id = id;
	}
	
	public String getName() {

		return name;
	}
	
	public void setName(String name) {

		this.name = name;
	}
	
	public int getParent_id() {

		return parent_id;
	}
	
	public void setParent_id(int parentId) {

		parent_id = parentId;
	}
	
}
